<!--标题的插槽-->
<template>
  <div class="bt">
    <slot>
      <h1>首页</h1>
    </slot>
  </div>
</template>

<style >
.bt {
  /* width: 1150px; */
  height: 70px;
  line-height: 70px;
  /* padding-left: 20px; */
  width: 1100px;
  margin: 0 auto;
}
.bt h1 {
  font-family: "思源黑体 Bold", "思源黑体 Regular", 思源黑体;
  font-weight: 700;
  font-style: normal;
  font-size: 24px;
  color: rgb(145, 55, 243);
}
</style>